package com.ideayp.leaf.leafonlyoffice;

import lombok.*;
import lombok.extern.slf4j.Slf4j;

@Data
@Builder
@Slf4j(topic = "aaaaa")
public class Person {

    @NonNull
    private String name;
    @NonNull
    private int age;

    @SneakyThrows(Exception.class)
    public void m() {
        log.info("打印一行日志信息 ！");
        throw new Exception("自定义异常");
    }

}
